"""
   author: 陈亚敏
   data: 2021/11/21  10:25
   project: 1
"""
import requests


resp=requests.get('https://gimg2.baidu.com/image_search/src=http%3A%2F%2Finews.gtimg.com%2Fnewsapp_bt%2F0%2F12743936596%2F641.jpg&refer=http%3A%2F%2Finews.gtimg.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1640055672&t=e5b617f42a46f2a0a714a4a8d157ee5e')

with open('F:\kapri的文档\研究生时期\三创\cjh\keke.jpg','wb') as fp:
    fp.write(resp.content)

